package com.ruoyi.payment.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.payment.dto.PaymentDto;
import com.ruoyi.pojo.TbPayment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TbPaymentMapper extends BaseMapper<TbPayment> {
    Page<PaymentDto> findAll(@Param("page") Page<TbPayment> page, @Param("p") PaymentDto paymentDto);


    PaymentDto selectPaymentDtoById(Integer paymentId);
}